package com.ioftv.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.Data;

import java.io.Serializable;

/**
 * 项目信息Excel导入导出DTO
 */
@Data
public class ProjectInfoExcelDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 项目名称
     */
    @ExcelProperty(value = "项目名称", index = 0)
    private String projectName;

    /**
     * 项目编号
     */
    @ExcelProperty(value = "项目编号", index = 1)
    private String projectCode;

    /**
     * 数据量
     */
    @ExcelProperty(value = "数据量", index = 2)
    private Integer dataVolume;

    /**
     * 回款周期
     */
    @ExcelProperty(value = "回款周期", index = 3)
    private String paymentCycle;

    /**
     * 需要人力数
     */
    @ExcelProperty(value = "需要人力数", index = 4)
    private Integer requiredPersonnel;

    /**
     * 接包时间
     */
    @ExcelProperty(value = "接包时间(格式:2025-01-15 00:00:00)", index = 5)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String acceptTime;

    /**
     * 交付时间
     */
    @ExcelProperty(value = "交付时间(格式:2025-01-15 00:00:00)", index = 6)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String deliveryTime;

    /**
     * 项目状态
     */
    @ExcelProperty(value = "项目状态(0-未开始 1-进行中 2-已完成 3-已取消)", index = 7)
    private Integer projectStatus;

    /**
     * 项目经理ID
     */
    @ExcelProperty(value = "项目经理ID", index = 8)
    private Long managerId;

    /**
     * 项目经理姓名
     */
    @ExcelProperty(value = "项目经理姓名", index = 9)
    private String managerName;
}